Add PR Copilot Review workflow and normalize review result script#26
Merged
jacwu merged 1 commit intotestbranchfrom Sep 26, 2025
Merged
Add PR Copilot Review workflow and normalize review result script#26jacwu merged 1 commit intotestbranchfrom
jacwu merged 1 commit intotestbranchfrom
Conversation
Owner
jacwu
commented
Sep 26, 2025
- Create a new GitHub Actions workflow for PR Copilot Review.
- Implement steps to compute diffs, prepare fallback reviews, and run the Copilot CLI for code reviews.
- Update the normalization script to read from the new raw review output file instead of the previous codex review file.
- Create a new GitHub Actions workflow for PR Copilot Review. - Implement steps to compute diffs, prepare fallback reviews, and run the Copilot CLI for code reviews. - Update the normalization script to read from the new raw review output file instead of the previous codex review file.
Reviewed by GitHub Copilot CLI |
Reviewed by Codex |
There was a problem hiding this comment.
Pull Request Overview
This PR adds a new GitHub Actions workflow for Copilot-based PR reviews and standardizes output handling between the existing Codex and new Copilot workflows.
- Add new GitHub Actions workflow for PR Copilot Review that parallels the existing Codex review functionality
- Normalize file naming conventions by using
raw_review.mdas the standard intermediate output file across both workflows - Update the normalization script to read from the standardized filename
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
.github/workflows/pr-copilot-review.yml |
New workflow implementing Copilot CLI-based code reviews with similar structure to existing Codex workflow |
.github/workflows/pr-codex-review.yml |
Updated to use standardized raw_review.md filename and improved environment variable handling |
scripts/normalize_review_result.py |
Updated to read from raw_review.md instead of codex_review.md for consistency |
Comment on lines
+57
to
+58
| env: | ||
| GITHUB_TOKEN: ${{ secrets.COPILOT_CLI_PAT }} |
There was a problem hiding this comment.
Inconsistent indentation - the environment variable should be indented with 2 spaces to align with the step structure, not 4 spaces.
|
|
||
| - name: Run Copilot code review | ||
| env: | ||
| GITHUB_TOKEN: ${{ secrets.COPILOT_CLI_PAT }} |
There was a problem hiding this comment.
Inconsistent indentation - the environment variable should be indented with 2 spaces to align with the step structure, not 4 spaces.
Suggested change
| GITHUB_TOKEN: ${{ secrets.COPILOT_CLI_PAT }} | |
| GITHUB_TOKEN: ${{ secrets.COPILOT_CLI_PAT }} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.